import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
import { state,getters,mutations } from "./mutations"
import { actions } from './actions'
import test from './modules/test'
import cate from "./modules/cate"
import vip from "./modules/vip"
import specs from './modules/specs'
import banner from './modules/banner'
import goods from './modules/goods'
import seckill from './modules/seckill'

export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules:{
    test,
    cate,
    vip,
    specs,
    banner,
    goods,
    seckill
  }
})
